const express = require('express')

const router = express.Router()

const {add, list, edit, authStatus, del} = require('../../../controller/auth')

router.post('/add', add)

router.get('/list', list)

router.put('/edit/:id', edit)

router.put('/status/:id', authStatus)

router.delete('/del/:id', del)

module.exports = router